//
//  LLGCommonTools.swift
//  Weibo30LLG
//
//  Created by 李龙 on 16/8/10.
//  Copyright © 2016年 lilong. All rights reserved.
//

import UIKit

//切换根控制器
let switchRootViewController = "switchRootViewController"

//当前屏幕宽度
let ScreenWidth = UIScreen.mainScreen().bounds.size.width
//当前屏幕高度
let ScreenHeight = UIScreen.mainScreen().bounds.size.height

//随机色
func RandomColor() -> UIColor {

    let red = random() % 256
    let green = random() % 256
    let blue = random() % 256
    
    return UIColor(red: CGFloat(red) / 255, green: CGFloat(green) / 255, blue: CGFloat(blue) / 255, alpha: 1)
}
